package com.chen.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.chen.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 订单附属信息表
 * </p>
 *
 * @author 陈永鹏
 * @since 2019-03-26
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("zs_order_sub")
public class OrderSub extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 订单附属表主键
     */
    @TableId(value = "os_id", type = IdType.AUTO)
    private Integer os_id;

    /**
     * 所属订单ID
     */
    private Integer o_id;

    /**
     * 所属用户表ID（下单人）
     */
    private Integer u_id;

    /**
     * 所属游客信息主键
     */
    private Integer v_id;

    /**
     * 拼团的团号，只在线路游中出现
     */
    private Integer gtrg_id;


}
